package com.demo.jwt.exception;

public enum RespStatus {

    OK(2000,"ok"),
    FAIL(4000,"fail"),
    TOKEN_ERROR(4001,"token验证失败"),
    TPKEN_NO_EXIST(4002,"token不存在"),
    NO_LOGIN(4003,"未登录"),
    ERROR(5000,"系统异常");

    private Integer code;

    private String messge;

    RespStatus(Integer code, String messge) {
        this.code = code;
        this.messge = messge;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessge() {
        return messge;
    }

    public void setMessge(String messge) {
        this.messge = messge;
    }
}
